/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Vehicle_vs3;

/**
 *
 * @author Root
 */
public class Main {

    public static void main(String[] args) {
        Vehicle ve = new Vehicle(10000);
        ve.setMaxLoad(10000);
        ve.show_Max_load();
        ve.addBox(500);
        ve.addBox(250);
        ve.addBox(5000);
        ve.addBox(4000);
        ve.addBox(300);
        ve.show_load();




    }
}
